/**
 * Prostokat.cpp
 *
 * Version: $Id: Prostokat.cpp 80 2012-01-07 11:57:24Z s8376@pjwstk.edu.pl $
 */
#include <iostream>
#include "Prostokat.h"

using namespace std;

void Prostokat::show()
{
    cout << "x: " << m_x << ", y: " << m_y << ", szerokosc: " << m_width
            << ", wysokosc: " << m_height << endl;
}
double Prostokat::getArea()
{
    return m_width * m_height;
}
